package oop.ex4.crosswords.strategies;

/**
 * An exception to indicate that no strategies were found
 * @author yomach
 * @author mbattat
 */
public class NoStrategyFoundException extends RuntimeException {

	///////////////////////////////////////////////////////
	///////////////////////Constants///////////////////////
	///////////////////////////////////////////////////////

	/**
	 * Default serialVersionUID.
	 */
	private static final long serialVersionUID = 1L;

	///////////////////////////////////////////////////////
	/////////////////////Constructors//////////////////////
	///////////////////////////////////////////////////////

	/**
	 * Generates a new IllegalOperatorException with default message.
	 */
	public NoStrategyFoundException() {
		super("Error: No good strategy found.");
	}

	/**
	 * Generates a new IllegalOperatorException with the given message.
	 * @param msg The message for the exception.
	 */
	public NoStrategyFoundException(String msg) {
		super(msg);
	}
}